package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;

/**
 * 功能：现金库存实体类(连表)
 * 作者：赵思睿
 * 日期：2021/3/16 0016-10:15
 * 版本：1.0
 */
public class CashStockTwo implements Serializable {
    //现金库存编号
    private String cashId;
    //基金名称
    private String fundName;
    //账户名称
    private String accName;
    //现金余额
    private double caMoney;
    //统计时间
    private String time;

    /**
     * 默认构造方法
     */
    public CashStockTwo() {
    }

    /**
     * 带参构造方法
     * @param cashId 现金库存编号
     * @param fundName 基金名称
     * @param accName 账户名称
     * @param caMoney 现金余额
     * @param time 统计时间
     */
    public CashStockTwo(String cashId, String fundName, String accName, double caMoney, String time) {
        this.cashId = cashId;
        this.fundName = fundName;
        this.accName = accName;
        this.caMoney = caMoney;
        this.time = time;
    }

    //自动生成的setter/getter方法
    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getfundName() {
        return fundName;
    }

    public void setfundName(String fundName) {
        this.fundName = fundName;
    }

    public String getaccName() {
        return accName;
    }

    public void setaccName(String accName) {
        if(accName.trim().equals("")){
            this.accName=null;
        }else this.accName = accName;
    }

    public double getCaMoney() {
        return caMoney;
    }

    public void setCaMoney(double caMoney) {
        this.caMoney = caMoney;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        if(time.trim().equals("")){
            this.time=null;
        }else this.time = time;
    }
}
